package com.firefightingiot.firefightingiot.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.firefightingiot.firefightingiot.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("business_firetraining")//单位-消防培训
public class BusinessFiretraining extends BasisEntity {

    private String id;//主键id
    private Date trainingtime;//培训时间
    private String participant;//参与人员
    private String trainingcontents;//培训内容
    private String businessId;//单位id
    private Date createtime;//创建日期
    private String createyear;//创建年份

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public Date getTrainingtime() {
        return this.getDate("trainingtime");
    }

    public void setTrainingtime(Date trainingtime) {
        this.put("trainingtime",trainingtime);
    }

    public String getParticipant() {
        return this.getString("participant");
    }

    public void setParticipant(String participant) {
        this.put("participant",participant);
    }

    public String getTrainingcontents() {
        return this.getString("trainingcontents");
    }

    public void setTrainingcontents(String trainingcontents) {
        this.put("trainingcontents",trainingcontents);
    }

    public String getBusinessId() {
        return this.getString("businessId");
    }

    public void setBusinessId(String businessId) {
        this.put("businessId",businessId);
    }

    public Date getCreatetime() {
        return this.getDate("createtime");
    }

    public void setCreatetime(Date createtime) {
        this.put("createtime",createtime);
    }

    public String getCreateyear() {
        return this.getString("createyear");
    }

    public void setCreateyear(String createyear) {
        this.put("createyear",createyear);
    }
}
